package com.jiazhong.dimap;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Auther:shuXin
 */
public class TestMap {
    @Test
    public void test01(){
        ApplicationContext ac = new ClassPathXmlApplicationContext("bean-dimaplist.xml");
        Student student = (Student) ac.getBean("student");
        System.out.println(student);
        student.info();
    }
}
